export class StringUtils {

    /**
     *  验证字符串是否为空
     * @param record 将要判断的字符串
     * @author JiangXincan
     * @date 2020/5/19 13:03
     * @return boolean
     */
    public static empty(record: any): boolean {
        return record === undefined || record === null || record === "" || record.length === 0;
    }

    public static isNotEmpty(record: any): boolean {
        return record !== undefined && record !== null && record !== "" && record.length > 0;
    }
}
